/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * Author: zhaosj
 * Date: 2011-3-7 下午04:08:12
 */
package com.util;

/**
 * 常量类
 * @author zhaosj
 *
 */
public class ConstUtil {
	
	//本地数据库标识，同conf/DatabasePool.properties文件中的表示
	public static final String FUNC_ORACLE = "funcOracle" ;
	
	//聚源数据库标识
	public static final String JYDB_ORACLE = "businessDB" ;
	
	//函数参数“报告期”列表行数
	public static final int REPORT_DATE_NUM = 20 ;
	
	//年度列表行数
	public static final int YEAR_NUM = 10 ;
	
	//财务报表的“报告期”列表行数
	public static final int FINANCIAL_REPORT_DATE_NUM = 5 ;
	
	// 市场代码：83-上海
	public static final int MARKET_SH = 83;
	
	// 市场代码：90-深圳
	public static final int MARKET_SZ = 90;
	
	//短日期匹配规则
	public static final String PATTERN_DATE_SHORT = "yyyy-MM-dd";
	
	//数值中等精确度，小数点后保留4位。
	public static final int NUMBER_BIG_SCALE_MIDDLE = 4;
	
	//聚源数据库表拥有者名称
	public static final String JYDB_OWNER = "ccxe" ;
	
	//函数数据库表拥有者名称
	public static final String FCDB_OWNER = "ccxe" ;
	
	//系统默认编码
	public static final String DEFAULT_ENCODE = "UTF-8";
	
	//日志信息——对象为空
	public static final String LOG4J_WARN_NOE = "a parameter is null or empty.";
	
	//操作指标函数后台访问memcached指定使用线程数
	public static final int FUNCTIONINDICATORTHREAD_COUNT = 20 ;
	
	//操作财务报表指定使用线程数
	public static final int FINANCIALREPORTTHREAD_COUNT = 10 ;
	
	
}
